package com.base.mvvm;


import com.face.gaoml.netlibrary.RxManager;

import net.MyApiService;

import javax.inject.Inject;


/**
 * MVPPlugin
 *  邮箱 784787081@qq.com
 */

public class BasePresenterImpl<V > implements BasePresenter<V> {

    public V mvpView;
    @Inject
    protected MyApiService apiStores;
//    private CompositeSubscription mCompositeSubscription;


    public RxManager mRxManager = new RxManager();



    @Override
    public void attachView(V view) {
        mvpView=view;
    }

    @Override
    public void detachView() {
        mvpView=null;
        mRxManager.clear();
    }






}
